
export default class LastMayday {
  palette(week, time, thumble, qrcode, title, detail,name) {
    return (
      {
        "width": "720px",
        "height": "1280px",
        "background": "#f8f8f8",
        "views": [
          {
            "type": "image",
            "url": "https://mall.guqule.com/wp-content/uploads/2020/04/ness.png",
            "css": {
              "width": "720px",
              "height": "1280px",
              "top": "0px",
              "left": "0px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "mode": "scaleToFill"
            }
          },
          {
            "type": "text",
            "text": time,
            "css": {
              "color": "#000000",
              "background": "rgba(0,0,0,0)",
              "width": "200px",
              "height": "28.599999999999994px",
              "top": "424px",
              "left": "80px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "padding": "0px",
              "fontSize": "20px",
              "fontWeight": "normal",
              "maxLines": "2",
              "lineHeight": "28.860000000000007px",
              "textStyle": "fill",
              "textDecoration": "none",
              "fontFamily": "",
              "textAlign": "left"
            }
          },
          {
            "type": "text",
            "text": week,
            "css": {
              "color": "#000000",
              "background": "rgba(0,0,0,0)",
              "width": "200px",
              "height": "28.599999999999994px",
              "top": "423px",
              "left": "208px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "padding": "0px",
              "fontSize": "20px",
              "fontWeight": "normal",
              "maxLines": "2",
              "lineHeight": "28.860000000000007px",
              "textStyle": "fill",
              "textDecoration": "none",
              "fontFamily": "",
              "textAlign": "left"
            }
          },
          {
            "type": "text",
            "text": title,
            "css": {
              "color": "#000000",
              "background": "rgba(0,0,0,0)",
              "width": "393.99999999999994px",
              "height": "86.96999999999998px",
              "top": "284px",
              "left": "58px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "padding": "0px",
              "fontSize": "30px",
              "fontWeight": "normal",
              "maxLines": "2",
              "lineHeight": "43.290000000000006px",
              "textStyle": "fill",
              "textDecoration": "none",
              "fontFamily": "",
              "textAlign": "left"
            }
          },
          {
            "type": "text",
            "text": name,
            "css": {
              "color": "#000000",
              "background": "rgba(0,0,0,0)",
              "width": "395px",
              "height": "71.49999999999999px",
              "top": "185px",
              "left": "57px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "padding": "0px",
              "fontSize": "50px",
              "fontWeight": "bold",
              "maxLines": "2",
              "lineHeight": "72.15000000000002px",
              "textStyle": "fill",
              "textDecoration": "none",
              "fontFamily": "",
              "textAlign": "left"
            }
          },
          {
            "type": "image",
            "url": thumble,
            "css": {
              "width": "629.0598332331732px",
              "height": "440px",
              "top": "494px",
              "left": "46px",
              "rotate": "0",
              "borderRadius": "20px",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "mode": "aspectFill"
            }
          },
          {
            "type": "text",
            "text": detail,
            "css": {
              "color": "#999",
              "background": "rgba(0,0,0,0)",
              "width": "445.99999999999994px",
              "height": "104.83200000000001px",
              "top": "1079px",
              "left": "63.00000000000003px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "padding": "0px",
              "fontSize": "24px",
              "fontWeight": "normal",
              "maxLines": "3",
              "lineHeight": "34.632000000000005px",
              "textStyle": "fill",
              "textDecoration": "none",
              "fontFamily": "",
              "textAlign": "left"
            }
          },
          {
            "type": "image",
            "url": qrcode,
            "css": {
              "width": "120px",
              "height": "120px",
              "top": "1078px",
              "left": "529px",
              "rotate": "0",
              "borderRadius": "",
              "borderWidth": "",
              "borderColor": "#000000",
              "shadow": "",
              "mode": "auto"
            }
          }
        ]
      }
    );
  }
}
